//
//  FavListCell.m
//  ForYourBeauty
//
//  Created by Kelly xu on 2019/6/2.
//  Copyright © 2019 changrenTech. All rights reserved.
//

#import "FavListCell.h"
#import "NSDate+DWDateUtils.h"
@implementation FavListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setCellValue:(FinderDetailModel*)model{
    [self.userIcon sd_setImageWithURL:[NSURL URLWithString:model.smallImage] placeholderImage:[UIImage imageNamed:@"test2"]];
    self.titlelab.text = [NSString stringWithFormat:@"%@",model.articleTitle];
    self.contentLab.text = [NSDate timeWithTimeToDayIntervalString:[NSString stringWithFormat:@"%f",model.addTime]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
